package com.example.startapp.entity;

    public class Shop {


        private Integer shopId;

        private String shopName;


        private User user; // 商店拥有者

        // Constructors
        public Shop() {
            this.shopId = shopId;
            this.shopName = shopName;
            this.user = user;
        }

        public Shop(Integer shopId, String shopName, User user) {
            this.shopId = shopId;
            this.shopName = shopName;
            this.user = user;
        }

        // Getters and Setters
        public Integer getShopId() {
            return shopId;
        }

        public void setShopId(Integer shopId) {
            this.shopId = shopId;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public User getUser() {
            return user;
        }

        public void setUser(User user) {
            this.user = user;
        }

        // Other methods like toString, equals, and hashCode can be added if needed
    }

